package com.cc.user.dao;

import com.cc.user.entity.DemandnoteEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cc.user.vo.DemandVo;
import com.cc.user.vo.DueVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-11 11:30:58
 */
@Mapper
public interface DemandnoteDao extends BaseMapper<DemandnoteEntity> {

    List<DemandnoteEntity> getAllDemandnote(@Param("id") Long id);

    List<DueVo> getAllYJKById(@Param("id") Long id);

    String getDPrice(@Param("orderId") Long orderId);

    List<DemandVo> getAllDemand(@Param("page") int page, @Param("limit") int limit);

    String getOrderPrice(@Param("ooid") Long ooid);

    DueVo getYJKXQ(@Param("id") Long id);
}
